﻿@model bdxyit.com.RecruitmentAppSys.ViewModels.CandidatePositionsViewModels

@{
    ViewBag.Title = "应聘岗位";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/DatePicker/WdatePicker.js")" type="text/javascript"></script>
@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
    
    <div id="NavMessage">
        <ul>
            <li>@Html.ActionLink("个人信息", "Index", "EducationInfo")</li>
            <li>@Html.ActionLink("教育信息", "Index", "EducationInfo")</li>
            <li>@Html.ActionLink("工作履历", "Index", "EducationInfo")</li>
            <li>@Html.ActionLink("应聘岗位", "Index", "EducationInfo", new { @style = "color: Red;" })</li>
            <li>@Html.ActionLink("上传照片", "Index", "EducationInfo")</li>
        </ul>
    </div>    
    <div id="BasicMessage">
        <fieldset>
            <legend>应聘岗位</legend>
     @Html.HiddenFor(model => model.UserInfo.UserID)
            <table>
                <tr>
                    <td>
                        <div class="editor-label">
                            第一应聘单位：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                           @Html.DropDownList("CompanyID", new SelectList(Model.CompanyInfo as System.Collections.IEnumerable, "CompanyID", "CompanyName"))
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="editor-label">
                          第一应聘岗位:
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                           @Html.DropDownList("PostID", new SelectList(Model.CompanyPost as System.Collections.IEnumerable, "PostID", "PostName"))
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="editor-label">
                            第二应聘单位：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                          @Html.DropDownList("CompanyID", new SelectList(Model.CompanyInfo as System.Collections.IEnumerable, "CompanyID", "CompanyName"))
                        </div>
                    </td>
                </tr>
                  <tr>
                    <td>
                        <div class="editor-label">
                           第二应聘岗位:
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                            @Html.DropDownList("PostID", new SelectList(Model.CompanyPost as System.Collections.IEnumerable, "PostID", "PostName"))
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="editor-label">
                            第三应聘单位：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                          @Html.DropDownList("CompanyID", new SelectList(Model.CompanyInfo as System.Collections.IEnumerable, "CompanyID", "CompanyName"))
                        </div>
                    </td>
                </tr>
                  <tr>
                    <td>
                        <div class="editor-label">
                           第三应聘岗位:
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                            @Html.DropDownList("PostID", new SelectList(Model.CompanyPost as System.Collections.IEnumerable, "PostID", "PostName"))
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="editor-label">
                            其他需要说明的问题
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                           @Html.EditorFor(b => b.UserInfo.Other)
                            @Html.ValidationMessageFor(b => b.UserInfo.Other)
                        </div>
                    </td>
                </tr>
            </table>
            <p>
                <input type="submit" value="下一步" />
                @Html.ActionLink("上一步", "Edit", "WorkHistory", new { id=Model.UserInfo.UserID}, new { id = "Up" })
            </p>
        </fieldset>
    </div>
    }

